package com.leileimann.tour.entity;

import org.neo4j.ogm.annotation.NodeEntity;

/**
 * @author leileiMann
 * @date 2022/3/27 21:11
 * 管理员实体
 */
@NodeEntity
public class Admin {
    private Long id;
    private String adminname;
    private String tel;
    private String password;

    public Admin(String adminname, String tel, String password) {
        this.adminname = adminname;
        this.tel = tel;
        this.password = password;
    }

    public Admin() {}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAdminname() {
        return adminname;
    }

    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", adminname='" + adminname + '\'' +
                ", tel='" + tel + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
